<div class="docs-section">
    <h1 id="constant" class="page-header">常量</h1>

    <h2 id="constant-base">基本说明</h2>
    <p>
        前端常用信息
    </p>

    <h2 id="constant-browser">浏览器信息</h2>
    <p>
        Dolphin.browser.{param}
    </p>
    <table class="table table-bordered table-striped docs-param">
        <thead>
            <tr>
                <th>名称</th>
                <th style="width:120px;">类型</th>
                <th>描述</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>appName</td><td>String</td><td>浏览器名称，msie|firefox|chrome|safari</td>
            </tr>
            <tr>
                <td>version</td><td>String</td><td>浏览器版本</td>
            </tr>
            <tr>
                <td>isMobile</td><td>Boolean</td><td>是否移动端</td>
            </tr>
            <tr>
                <td>msIe</td><td>Boolean</td><td>是否IE</td>
            </tr>
            <tr>
                <td>firefox</td><td>Boolean</td><td>是否firefox</td>
            </tr>
            <tr>
                <td>safari</td><td>Boolean</td><td>是否safari</td>
            </tr>
            <tr>
                <td>chrome</td><td>Boolean</td><td>是否chrome</td>
            </tr>
        </tbody>
    </table>

    <h2 id="constant-path">常用路径</h2>
    <p>
        Dolphin.path.{param}
    </p>
    <table class="table table-bordered table-striped docs-param">
        <thead>
            <tr>
                <th>名称</th>
                <th style="width:120px;">类型</th>
                <th>描述</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>contextPath</td><td>String</td><td>/</td>
            </tr>
            <tr>
                <td>host</td><td>String</td><td>localhost:18080</td>
            </tr>
            <tr>
                <td>hostname</td><td>String</td><td>localhost</td>
            </tr>
            <tr>
                <td>href</td><td>String</td><td>http://localhost:18080/view/dolphin/dolphinBaseFun?test=1</td>
            </tr>
            <tr>
                <td>origin</td><td>String</td><td>http://localhost:18080</td>
            </tr>
            <tr>
                <td>pathname</td><td>String</td><td>/view/dolphin/dolphinBaseFun</td>
            </tr>
            <tr>
                <td>port</td><td>String</td><td>18080</td>
            </tr>
            <tr>
                <td>protocol</td><td>String</td><td>http:</td>
            </tr>
            <tr>
                <td>search</td><td>String</td><td>?test=1</td>
            </tr>
        </tbody>
    </table>

    <h2 id="constant-requestMethod">请求类型</h2>
    <p>
        Dolphin.requestMethod.{param}
    </p>
    <table class="table table-bordered table-striped docs-param">
        <thead>
            <tr>
                <th>名称</th>
                <th style="width:120px;">类型</th>
                <th>描述</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td>GET</td><td>String</td><td>get</td>
            </tr>
            <tr>
                <td>POST</td><td>String</td><td>post</td>
            </tr>
            <tr>
                <td>PUT</td><td>String</td><td>put</td>
            </tr>
            <tr>
                <td>DELETE</td><td>String</td><td>delete</td>
            </tr>
        </tbody>
    </table>
</div>